package com.wudi.estate.service.impl.ownermanagement;

import com.wudi.estate.bean.ownermanagement.MemberType;
import com.wudi.estate.mapper.ownermanagement.MemberTypeMapper;
import com.wudi.estate.service.ownermanagement.MemberTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MemberTypeServiceImpl implements MemberTypeService {
    @Autowired
    private MemberTypeMapper memberTypeMapper;
    @Override
    public String selectMemberById(MemberType mt) throws Exception {
        return memberTypeMapper.selectMemberById(mt);
    }

    @Override
    public List<MemberType> selectAll() throws Exception {
        return memberTypeMapper.selectAll();
    }
}
